package br.com.velp.vskygeo.util;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

/**
 *
 * @author Eduardo
 */
public class DateTimeUtils {
    
    public static Date getDateTimeGmtBrasil(Date dataInput){
        
        Calendar calendar = GregorianCalendar.getInstance();        
        calendar.setTime(dataInput);
        calendar.roll(Calendar.HOUR, -3);
        
        return calendar.getTime();
        
    }
    
}
